package com.guoyansoft.model.dao;

import com.guoyansoft.model.pojo.ShopType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface ShopTypeDao {
    List<ShopType> selectAll();

//    增删改查
    List<ShopType> selectByPage(Map<String,Object> params) ;
    int selectTotalSize(Map<String,Object> params);
    int deleteBatch(Integer[] ids);
    int insert(ShopType shopType);
    ShopType selectById(int id);
    int update(ShopType shopType);
}
